package com.huawei.appmarket.service.store.awk.bean;

import android.content.res.Resources;
import com.huawei.appgallery.foundation.card.gamereserve.bean.OrderAppCardBean;
import com.huawei.appmarket.service.store.awk.widget.horizon.HorizontalCardConfig;
import java.util.List;
import o.cif;
import o.ContentManager;
import o.epv;
import o.CollectCheck;
import o.ewm.d;

public class HorizontalSlidingCardBean extends BaseHorizontalCardBean<OrderAppCardBean> {
    private static final long serialVersionUID = 3175702658253272964L;
    protected List<OrderAppCardBean> list_;

    public int ʼˊ() {
        int ˏ = epv.ˏ(ContentManager.getInstant().getContext());
        Resources resources = ContentManager.getInstant().getContext().getResources();
        this.maxFilterNum = (ˏ / (resources.getDimensionPixelSize(d.ॱॱ) + resources.getDimensionPixelSize(d.ʻ))) + 1;
        return this.maxFilterNum;
    }

    public List ʼᐝ() {
        return this.list_;
    }

    public boolean ˋ(int i) {
        return super.ˋ(i) || CollectCheck.isEmpty(this.list_);
    }

    public Class<? extends cif> ߵ() {
        return HorizontalCardConfig.class;
    }
}
